import Vue from 'vue'
import App from './App'
import '../static/style/style.css'
import '../static/style/iconfont.css'
Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)
app.$mount()

export default {
    // 这个字段走 app.json
    config: {
        // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
        pages: ['pages/logs/main', '^pages/index/main'],
        window: {
            backgroundTextStyle: 'light',
            navigationBarBackgroundColor: '#fff',
            navigationBarTitleText: 'WeChat',
            navigationBarTextStyle: 'black'
        },
        tabBar: {
            list: [{
                pagePath: "pages/index/main",
                iconPath:"static/image/home_fill_light.png",
                                selectedIconPath:"static/image/home_fill_light.png",
                text: "首页"
            }, {
                pagePath: "pages/class/main",
                iconPath:"static/image/sort.png",
                                selectedIconPath:"static/image/sort.png",
                text: "分类"
            }, {
                pagePath: "pages/cart/main",
                iconPath:"static/image/cart_fill.png",
                                selectedIconPath:"static/image/cart_fill.png",
                text: "购物车"
            }, {
                pagePath: "pages/my/main",
                iconPath:"static/image/people_fill.png",
                                selectedIconPath:"static/image/people_fill.png",
                text: "个人中心"
            }]
        }
    }
}